package test.springboot.config;

import top.lingkang.finalsession.FinalSessionConfig;
import top.lingkang.finalsession.javax.FinalSessionFilter;

/**
 * @author lingkang
 * Created by 2024/3/10
 */
//@Configuration
//@Order(-1995)
public class MySessionConfigRedis extends FinalSessionFilter {
    @Override
    protected void configurer(FinalSessionConfig config) {
        // 使用redis存储session
        config.setRepository(new FinalRepositoryRedis());
    }
}
